<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>武理天协</title>
    <style>
         body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f0f0f0;
        }
        .header, .footer {
            background-color: #202040;
            color: white;
            padding: 10px 20px;
            text-align: center;
        }
        .container_a {
            padding: 20px;
            margin: 15px;
        }
        .container_b {
            padding: 20px;
            margin: 15px;
        }
        .container_c {
            padding: 20px;
            margin: 15px;
        }
        .event-item_a {
            display: block;
            background-color: white;
            margin-bottom: 20px;
            padding: 20px;
            border: 2px solid #ccc;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            text-decoration: none;
            color: #f0f0f0;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background-image: url(./images/activity.png);
            background-size: cover;
        }
        .event-item_a:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }
        .event-item_b {
            display: block;
            background-color: white;
            margin-bottom: 20px;
            padding: 20px;
            border: 2px solid #ccc;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            text-decoration: none;
            color: #f0f0f0;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background-image: url(./images/activity.png);
            background-size: cover;
        }
        .event-item_b:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }
        .event-item_c {
            display: block;
            background-color: white;
            margin-bottom: 20px;
            padding: 20px;
            border: 2px solid #ccc;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            text-decoration: none;
            color: #f0f0f0;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background-image: url(./images/activity.png);
            background-size: cover;
        }
        .event-item_c:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }
        .event-date {
            color: #666;
            font-size: 0.9em;
        }
        .nav-bar {
            background-color: #303060;
            padding: 10px 0;
            text-align: center;
            font-size: 36px; /* 导航字体比标题小一号 */
        }
        .nav-bar a {
            color: white;
            padding: 10px 20px;
            text-decoration: none;
            transition: background-color 0.3s ease-in-out;
        }
        .nav-bar a:hover {
            background-color: #505080;
        }
        .topic-title {
            color:#f0f0f0;
            font-size: 1.2em;
        }
    </style>
</head>
<body>
    <div class="header">
        <h1>近期活动预告</h1>
    </div>
    <div class="nav-bar">
        <a href="./首页.html">网站首页</a>
        <a href="./history.html">协会历史</a>
        <a href="./news.html">观星新闻</a>
        <a href="./astronomy.html">天文科普</a>
        <a href="./links.html">链接天文</a>
    </div>
    <div class="container_a">
        <a href="#" class="event-item_a">
            <h2 class="topic-title">深空观测之旅</h2>
            <p class="event-date">2024年6月15日</p>
            <p>加入我们的深空观测之旅，我们将前往远离城市光污染的区域，观察那些肉眼难以捕捉的天体。</p>
        </a>
    </div>
    <div class="container_b">
        <a href="#" class="event-item_b">
            <h2 class="topic-title">月食观测会</h2>
            <p class="event-date">2024年6月15日</p>
            <p>我们将在大学的天文台举行月食观测活动，提供专业的天文设备和讲解。</p>
        </a>
    </div>
    <div class="container_c">
        <a href="#" class="event-item_c">
            <h2 class="topic-title">新星观测竞赛</h2>
            <p class="event-date">2024年8月20日</p>
            <p>参与我们的新星观测竞赛，挑战自己的天文知识和观测技能，有机会赢得精美奖品。</p>
        </a>
    </div>

    <div class="footer">
        <p>联系我们: email@example.com</p>
    </div>
</body>
</html>
